package com.uzai.console.dto.wxpubmanage;

import com.uzai.console.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * @Author cen
 * @Date 2021/12/7 0007 14:58
 */

public class UploadMaterialDto extends BaseDto {

    @ApiModelProperty("素材类型 ")
    private String type ;

    @ApiModelProperty("公众号配置ID不能为空")
    @NotNull(message = "公众号配置ID不能为空")
    private Long wxpubId ;

    @ApiModelProperty("文件byteString")
    private String fileByteString ;


    @ApiModelProperty("文件名称")
    private String fileName ;

    @ApiModelProperty("文件大小")
    private Long fileSize ;

    @ApiModelProperty("oss地址")
    private String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getFileByteString() {
        return fileByteString;
    }

    public void setFileByteString(String fileByteString) {
        this.fileByteString = fileByteString;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getWxpubId() {
        return wxpubId;
    }

    public void setWxpubId(Long wxpubId) {
        this.wxpubId = wxpubId;
    }
}
